package mobi.hami.huapin.service.impl;

import mobi.hami.huapin.dao.NoteInfoMapper;
import mobi.hami.huapin.model.NoteInfo;
import mobi.hami.huapin.service.NoteInfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * Create by 小峰 on 2018/9/13.
 * 纸条信息
 */
@Service
public class NoteInfoServiceImpl implements NoteInfoService {
    @Autowired
    private NoteInfoMapper noteInfoMapper;

    public   NoteInfo FindOneByPrimaryKey(Integer id){
        return  noteInfoMapper.selectByPrimaryKey(id);
    }

}
